import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import Components from 'unplugin-vue-components/vite'
import NutUIResolver from '@nutui/auto-import-resolver'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(),  Components({
    resolvers: [NutUIResolver()],
  }),], build: {
    outDir: '../综合后台管理系统/views/jbb'
  },
  base: './',
  server: {
    host: '0.0.0.0',
    port: 8080, // 你可以设置你希望的端口号
  },

})
